from selenium import webdriver
class Base:
    _base_url = ""
    def __init__(self,driver:webdriver=None):
        self.driver = ""
        if driver is None:
            self.driver = webdriver.Chrome()
        else:
            self.driver = driver
        if self._base_url != "":
            self.driver.get(self._base_url)
            self.driver.maximize_window()
            self.driver.implicitly_wait(5)
            

